package cn.dlc.com.consumer.feign;

import cn.dlc.com.nacos.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.UUID;

/**
 * @author 邓立川
 * @date 2020/12/30 15:05
 * @desc 添加当前类的描述信息
 */
@FeignClient(name = "product-server")
public interface ProductService {

    @GetMapping("product/{id}")
    User getUser(@PathVariable("id") String id);
}
